package util;

public class StringHelper {
    public static void truncEnding(StringBuilder sb, int i) {
        sb.delete(sb.length() - i, sb.length());
    }

    public static String quoteMarked(String value) {
        StringBuffer stringBuffer = new StringBuffer(value);
        stringBuffer.insert(0, '"').toString();
        return stringBuffer.insert(value.length() + 1, '"').toString();

    }
}
